package com.demo.dao.sys.mapper;

import com.demo.dao.common.entity.CatalogItem;
import com.demo.dao.sys.entity.SysPermissionItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface SysPermissionInfoMapper {
    //读取权限表
    public List<CatalogItem> getPermissionInfoByParams(Map<String, String> map);

    //保存权限表
    public int insertPermissionItem(SysPermissionItem item);

    //修改权限表
    public int updatePermissionItem(SysPermissionItem item);

    //删除权限表
    public int removePermissionItem(Map<String, String> map);
}
